package com.zhonglian.bloodpressure.utils;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created : Yx
 * Time : 2018/11/13 15:40
 * Describe :服务保活广播(只在黑屏，APP在后台时管点用)
 */
public class RunReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Intent i = new Intent(context, RunService.class);
        context.startService(i);
    }
}
